<?php
if(!defined('IN_DISCUZ')) {
	exit('Access Deined');
}
class mobileplugin_aljbd {
	function index_top_mobile() {
		global $_G;
		$config = $_G ['cache'] ['plugin'] ['aljbd'];
		if(!$config['sjurl']){
			return;
		}
		if (!file_exists(DISCUZ_ROOT . './source/plugin/aljbd/template/touch')) {
			return;
		}
		if($_GET['mobile']=='1'){
			$xian='<span class="pipe">|</span>';
		}else{
			$xian='&nbsp;&nbsp;&nbsp;';
		}
		$html = '<div class="wp wm" id="wp"><div class="bm bmw fl"><div class="subforumshow bm_h cl" ><span class="o"><img src="static/image/mobile/images/collapsed_yes.png"></span><h2><a href="plugin.php?id=aljbd" >'.$config['aljbd_plugins'].'</a></h2></div></div></div>';
		return $xian.$html;
		
	}
}
class mobileplugin_aljbd_forum extends mobileplugin_aljbd {
}
?>